package com.sdgakj.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.sql.Timestamp;
import java.util.Date;


@Entity
@Table(name="f_familybook")
public class Familybook extends IdEntity {
	private static final long serialVersionUID = 1L;


	private String fbDesp;
	private Timestamp time;
	private String fbImages;
	private Long  fbYear;
    private Long fId;
	public Familybook(){
	}
	public Familybook(String fbDesp, Long  fId, String fbImages, Timestamp time, Long  fbYear) {
		this.fbDesp = fbDesp;
		this.fId = fId;
		this.time = time;
		this.fbImages = fbImages;
		this.fbYear = fbYear;
	}



	public Long getFbYear() {
		return fbYear;
	}

	public void setFbYear(Long fbYear) {
		this.fbYear = fbYear;
	}



	public Long getfId() {
		return fId;
	}

	public void setfId(Long fId) {
		this.fId = fId;
	}

	public String getFbDesp() {
		return fbDesp;
	}

	public void setFbDesp(String fbDesp) {
		this.fbDesp = fbDesp;
	}

	public Timestamp getTime() {
		return time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public String getFbImages() {
		return fbImages;
	}

	public void setFbImages(String fbImages) {
		this.fbImages = fbImages;
	}

	@Override
	public String toString() {

		return ToStringBuilder.reflectionToString(this);
	}
}
